package cn.kow.kmall.admin.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: lijun
 * @Description:
 * @Date: Created in 2019-11-13 15:44
 * @Modified By:
 */
@Data
public class SysUserVO implements Serializable {

    private Long userId;

    private String username;

    private String nickname;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    private String avatar;

    private String email;

    private String phone;

    private Short gender;

    private Boolean locked;

    private Short status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
